CC :=gcc
fopen_fclose: 01_fopen_fclose.c
	-gcc 01_fopen_fclose.c -o fopen_fclose
	-./fopen_fclose
	-rm fopen_fclose

fwrite: 02_fwrite.c
	-$(CC) $^ -o $@
	-./$@
	-rm $@

fread: 03_fread.c
	-$(CC) $^ -o $@
	-./$@
	-rm $@

stdio: 04_stdio.c
	-$(CC) $^ -o $@
	-./$@ 1>>log.txt 2>>error.txt
	-rm $@

perror: 05_perror.c
	-$(CC) $^ -o $@
	-./$@
	-rm $@


system_call: 06_system_call.c
	-$(CC) $^ -o $@
	-./$@
	-rm $@

system_call1: 07_system_call1.c
	-$(CC) $^ -o $@
	-./$@
	-rm $@